package com.aliang.shopping.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商家表
 *
 * @TableName business
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "business")
@Data
public class Business extends UpdatePO {
    /**
     * 账号
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 店铺名
     */
    @TableField(value = "store_name")
    private String storeName;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 联系号码
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 联系邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 店铺简述
     */
    @TableField(value = "sketch")
    private String sketch;

    /**
     * 资质证明
     */
    @TableField(value = "qualification")
    private String qualification;

    /**
     * 发货地
     */
    @TableField(value = "place")
    private String place;


    /**
     * 店铺状态
     */
    @TableField(value = "business_status")
    private Integer businessStatus;
}